package cz.muni.fi.pa165.travelagency.persistence;

import org.springframework.dao.DataAccessException;

/**
 * Generic runtime exception to be used in DAOs
 *
 * @author Lukas Jungmann
 * @version 1.0
 */
public class DAOException extends DataAccessException {

    public DAOException(String message) {
        super(message);
    }

    public DAOException(String message, Throwable cause) {
        super(message, cause);
    }
}
